package com.lovegu.object.middle;

import java.util.Date;

/**
 * @author 老顾
 * @title: Student
 * @projectName java-restudy
 * @email: 1437594522@qq.com
 * @date 2022/9/21 8:04
 */
public class Student extends Person{
    public Student(String name, int age, Date birthDate) {
        super(name, age, birthDate);
    }
    public String school;

    public Student() {
        super();
    }

    public String getSchool() {
        return school;
    }

    public void setSchool(String school) {
        this.school = school;
    }

    public Student(String name, int age, Date birthDate, String school) {
        super(name, age, birthDate);
        this.school = school;
    }
}
